﻿@model IEnumerable<MvcMusicStore.Models.Album>

@{
    ViewBag.Title = "Search";
}

<h2>Search results</h2>
<table>
    <tr>
        <th>Artist</th>
        <th>Title</th>
        <th>Price</th>
    </tr>
    @foreach (var album in Model)
    {
        <tr>
            <td>@album.Artist</td>
            <td>@album.Title</td>
            <td>@String.Format("{0:c}", album.Price)</td>
        </tr>
    }
</table>
